<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<title></title>
<style type="text/css">
body {
	background-image: url(pic/LeftBgroud.gif);
}
</style>
<link rel="stylesheet" href="../css/css.css" type="text/css"></link></head>

<body leftmargin="0" topmargin="0" >
  <table width="170" height="135" align="center" cellpadding="0" cellspacing="0" background="pic/msg.gif">
    <tr>
      <td width="170" height="64" valign="bottom" background="" class="menu_title"><table width="100%" height="21" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="80">&nbsp;</td>
          <td><a href="index.jsp" target="_parent"><strong>退出系统</strong></a></td>
        </tr>
        
      </table></td>
    </tr>
    <tr>
      <td width="170" align="center"><table width="100%" height="50" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="38%">&nbsp;</td>
          <td width="62%"><span class="red_9">&nbsp;&nbsp;${ sessionScope.adminInfo.naName }</span></td>
        </tr>
        <tr>
          <td width="38%">&nbsp;</td>
          <td>&nbsp;<span class="red_9">
          <c:choose>
          	<c:when test="${sessionScope.adminInfo.nState eq 1}">
          		超级管理员
          	</c:when>
          	<c:otherwise>
          		普通管理员
          	</c:otherwise>          
         </c:choose>       
          </span></td>
        </tr>
      </table></td>
    </tr>
  </table>
  
  <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" >
  <tr align="center">
  	<td background="pic/bar.gif" valign="middle"><a href="addboard.jsp" target="main"><strong>添加主题</strong></a></td>
  </tr>
  </table>
  
  <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" >
  <tr align="center">
  	<td background="pic/bar.gif" valign="middle"><a href="GetBoard?flag=EditBoard" target="main"><strong>编辑主题</strong></a></td>
  </tr>
  </table>
  
  <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" >
  <tr align="center">
  	<td background="pic/bar.gif" valign="middle"><a href="../GetNews?flag=search" target="main"><strong>编辑新闻</strong></a></td>
  </tr>
  </table>
  
  <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" >
  <tr align="center">
  	<td background="pic/bar.gif" valign="middle"><a href="GetBoard?flag=AddNews" target="main"><strong>添加新闻</strong></a></td>
  </tr>
  </table>
 
   <table width="170" align="center" height="25" cellpadding="0" cellspacing="0" >
   <c:if test="${sessionScope.adminInfo.nState eq 1}"><%--超级管理员才有权限添加管理员 --%>
   	<tr align="center">
  		<td background="pic/bar.gif" valign="middle"><a href="register.jsp" target="main"><strong>添加管理员</strong></a></td>
  	</tr>
   </c:if>
 
  </table>

</body>
</html>